package cn.com.checne.model.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class LogInfo implements Serializable {
	private static final long serialVersionUID = 4889138876577630017L;
	private int logId;
	private int userId = 0;
	private UserInfo userInfo;
	private int logActionId = 0;
	private String logActionName;
	private int naviId;
	private NavigateInfo navigateInfo;
	private String logDesc;
	private Date logTime;

	public int getLogId() {
		return logId;
	}
	public void setLogId(int logId) {
		this.logId = logId;
	}
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public int getLogActionId() {
		return logActionId;
	}

	public void setLogActionId(int logActionId) {
		this.logActionId = logActionId;
	}

	public String getLogActionName() {
		return logActionName;
	}

	public void setLogActionName(String logActionName) {
		this.logActionName = logActionName;
	}

	public int getNaviId() {
		return naviId;
	}

	public void setNaviId(int naviId) {
		this.naviId = naviId;
	}

	public NavigateInfo getNavigateInfo() {
		return navigateInfo;
	}

	public void setNavigateInfo(NavigateInfo navigateInfo) {
		this.navigateInfo = navigateInfo;
	}

	public String getLogDesc() {
		return logDesc;
	}

	public void setLogDesc(String logDesc) {
		this.logDesc = logDesc;
	}

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}